import request from 'utils/request'

/**
 *用户登录
 * @param {*} data
 * @returns
 */
export function login(data) {
  return request({
    url: '/frame/login',
    method: 'POST',
    data,
  })
}

/**
 * 用户资料
 * @returns
 */
export function getUserInfo() {
  return request({
    url: '/frame/profile',
    method: 'POST',
  })
}
